package com.kdl.webconfig.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.kdl.webconfig.entity.PicConfig;
import com.baomidou.mybatisplus.extension.service.IService;
import com.kdl.webconfig.vo.config.PicConfigQueryReq;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wcj
 * @since 2022-09-04
 */
public interface IPicConfigService extends IService<PicConfig> {

    /**
     * 图片配置分页
     * @param picConfigReq
     * @return
     */
    Page<PicConfig> queryPage(PicConfigQueryReq picConfigReq);

    /**
     * 根据type lantype查询图片配置信息
     * @param type
     * @param lanType
     * @return
     */
    List<PicConfig> queryInfoByTypeAndLanType(String type, Integer lanType);
}
